
<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>
<script src="${path}/static/taoshunda/cash/delivercash.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="form-inline">

    <div class="input-group col-xs-2" style="float: left;margin-right: 6px;">
        <input class="form-control col-xs-3 entry" name="bussNameS" placeholder="请输入配送员名称" style="margin-right: 6px"/>
    </div>

    <div class="input-group col-xs-2" style="float: left;margin-right: 6px;">
        <input class="form-control rangedate col-xs-3 entry" name="timeS" style="margin-right: 6px" placeholder="请输入提现时间" />
    </div>

    <select name="stateS" class="form-control entry">
        <option value="">请输入提现状态</option>
        <option value="1">待审核</option>
        <option value="2">审核通过</option>
        <option value="3">审核拒绝</option>
    </select>

    <button class="btn query_button" id="btnSearch">
        <%--<span class="glyphicon glyphicon-search"></span>--%>
        查询
    </button>

    <button class="btn export" id="exportFinal">
        <span class="glyphicon glyphicon-arrow-down"></span>
        导出
    </button>
</div>



<table id="table"
       style="background-color:white"
       data-toggle="table"
       data-url="${path}/web/cash/delivercashQuery"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200,500,1000,2000,5000]"
>
    <thead>
    <tr>
        <th data-checkbox="true"></th>
        <th data-field="dName">配送员名称</th>
        <th data-field="name">用户名称</th>
        <th data-field="bankName">银行名称</th>
        <th data-field="bankCard">银行卡号</th>
        <th data-field="money">提现金额</th>
        <th data-field="mobile">联系方式</th>
        <th data-field="created">提现时间</th>
        <th data-field="dealName" data-formatter="dealNameFormatter">处理人</th>
        <th data-field="dealTime" data-formatter="dealTimeFormatter">处理时间</th>
        <th data-field="state" data-formatter="stateFormtter">状态</th>
        <th data-formatter="deliverFormatter" data-events="bussEvent">操作</th>
    </tr>
    </thead>
</table>



<!--弹出的提现记录对话框-->
<div id="jiaoyijilu-div" class="slidingmenu box-model box box-info">
    <div class="box box-info">

        <div class="box-header">
            <h3 class="box-title">查看提现记录</h3>
        </div>

        <div class="box-body">
            <table id="table1"
                   data-toggle="table"
                   data-toolbar="#toolbar1"
                   data-side-pagination="server"
                   data-pagination="true"
                   data-page-list="[5, 10, 20, 50, 100, 200]"
            >
                <thead>
                <tr>
                    <th data-field="name">用户名称</th>
                    <th data-field="bankCard">银行卡号</th>
                    <th data-field="bankName">开户行</th>
                    <th data-field="mobile">联系方式</th>
                </tr>
                </thead>
            </table>
            <div class="box-footer">
                <h3 class='box-title'>
                    <button class="btn btn-danger close-model">关闭</button>
                </h3>
            </div>
        </div>
     </div>
</div>


<div id="auditdisaggress-div" class="slidingmenu box-model box box-info">
    <div class="box box-info">
        <div class="box-header">
            <h3 class="box-title">审核拒绝</h3>
        </div>
        <div class="box-body">
            <form role="form" id="auditform">
                <input id="money" type="hidden"/>
                <input id="deliveryId" type="hidden"/>
                <div class="form-group">
                    <label>拒绝理由:</label>
                    <input type="hidden" name="auditid" />
                    <textarea class="form-control" name="reason" style="width: 50%;height: 150px"></textarea>
                </div>
            </form>
            <div class="box-footer">
                <button class="btn btn-info" id="auditdisaggress">确定</button>&nbsp;<button class="btn btn-danger close-model">关闭</button>
            </div>
        </div>
  </div>

</div>